/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ismaila.designPatterns.structural.decorator;

/**
 *
 * @author Chelsea
 */
public class LegDecorator extends AnimalDecorator {
    public LegDecorator(Animal animal){
super(animal);
    }
@Override
public String describe(){
  String species;
  String action;
 species = animal.describe();
 action = dance();
return species + "Ihavelegs." + action;
}
public String dance(){
return "Icandance.";
}

}
